package com.emptyMe.pet.service;

import com.emptyMe.pet.domain.MasterMsg;
import com.emptyMe.pet.domain.Pet;
import com.emptyMe.pet.query.PetQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPetService {
    void publishMessage(MasterMsg mm);

    void save(Pet pet);

    void update(Pet pet);

    void remove(Long id);

    void removeMany(List<Pet> pets);

    Pet getById(Long id);

    PageInfo<Pet> searchData(PetQuery query);
}
